package com.sinux.sshUser.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.sinux.sshUser.service.UserServiceI;

/**
 * @author WangGan
 * @version 2017年5月18日 下午2:24:15 
 * 
 */
@Controller
public class TreelogController {
	
	@Autowired
	private UserServiceI userService;
	
	@RequestMapping("/treelog")
	public String index(){
		return "include/treelog";
	}
	
	@RequestMapping("/instude")
	public String contude(HttpServletRequest request,HttpServletResponse response,Model model){
		String uid=request.getParameter("uid");
		String deid=request.getParameter("deid");
		//userService.instude(uid, deid);
		return null;
	}

}
